package com.csz.service;

import com.csz.Vo.UserVo;
import com.csz.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserService {
    // 登录user
    public User login(String uLoginname,String uPassword);

    //修改密码
    public int updatePassword(Integer uId,String password);

    //查询所有user
    public PageInfo<User> getUses(Integer pageNum, Integer pageSize, UserVo vo);

    //根据主键查询
    public User findById(Integer uId);
}
